<?php
defined('_JEXEC') or die;

class ContentViewVideo extends JViewLegacy
{

	function display($tpl = null)
	{
        $link = base64_decode(JRequest::getString('link'));
        
        $dispatcher	= JDispatcher::getInstance();
        
        JPluginHelper::importPlugin('content');
        $item = new stdClass();
        $item->text = $link;
		$dispatcher->trigger('onContentPrepare', array ('com_content.article', &$item, &$this->params, $offset));
        print $item->text;
        die();
		parent::display($tpl);
	}
}
